<template>
  <el-switch
    v-model="value"
    active-color="#13ce66"
    inactive-color="#ff4949"
    :disabled="SwitchIsdisabled"
    :active-text="switchOpen"
    :inactive-text="switchClose"
  >
  </el-switch>
</template>
<script>
import {Switch} from "./template";
export default {
  name: "templateSwitch",
  extends: Switch,
  data() {
    return {
      value: true,
    };
  },
  mounted() {
    console.log("1111");
  },
};
</script>